package net.zjitc.domain;

public class Goods {
    private int id;
    private String name;
    private String image;
    private float price;
    private String info;

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", price=" + price +
                ", info='" + info + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Goods() {
    }

    public Goods(int id, String name, String image, float price, String info){
        this.id = id;
        this.name = name;
        this.image = image;
        this.price = price;
        this.info = info;
    }

    public Goods(String name, float price, String info) {
        this.name = name;
        this.price = price;
        this.info = info;
    }
}
